[INFO] fetching crate rogue 0.0.2...
[INFO] checking rogue-0.0.2 against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] extracting crate rogue 0.0.2 into /workspace/builds/worker-2/source
[INFO] validating manifest of crates.io crate rogue 0.0.2 on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rogue 0.0.2
[INFO] finished tweaking crates.io crate rogue 0.0.2
[INFO] tweaked toml for crates.io crate rogue 0.0.2 written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] baa9a4daedb09688ede3525f3f2a820babf6c85e855f456eb662342e73ac4d14
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "baa9a4daedb09688ede3525f3f2a820babf6c85e855f456eb662342e73ac4d14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "baa9a4daedb09688ede3525f3f2a820babf6c85e855f456eb662342e73ac4d14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "baa9a4daedb09688ede3525f3f2a820babf6c85e855f456eb662342e73ac4d14", kill_on_drop: false }`
[INFO] [stdout] baa9a4daedb09688ede3525f3f2a820babf6c85e855f456eb662342e73ac4d14
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 582f243048fbce11808969bb2899fb1f984a42db4775a239e043f1aee04e36a2
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "582f243048fbce11808969bb2899fb1f984a42db4775a239e043f1aee04e36a2", kill_on_drop: false }`
[INFO] [stderr]     Checking rogue v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] error: invalid suffix `u` for integer literal
[INFO] [stdout]   --> src/dice.rs:40:26
[INFO] [stdout]    |
[INFO] [stdout] 40 |         for num in range(1u, 4) {
[INFO] [stdout]    |                          ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for integer literal
[INFO] [stdout]   --> src/dice.rs:41:32
[INFO] [stdout]    |
[INFO] [stdout] 41 |             for sides in range(1u, 20) {
[INFO] [stdout]    |                                ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for integer literal
[INFO] [stdout]   --> src/dice.rs:28:46
[INFO] [stdout]    |
[INFO] [stdout] 28 |            let mut dist : Vec<uint> = repeat(0u).take($num * $sides + 1).collect();
[INFO] [stdout]    |                                              ^^ invalid suffix `u`
[INFO] [stdout] ...
[INFO] [stdout] 42 |                 assert_dice!(num, sides);
[INFO] [stdout]    |                 ------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for integer literal
[INFO] [stdout]   --> src/dice.rs:34:102
[INFO] [stdout]    |
[INFO] [stdout] 34 |             assert!(dist.iter().take($num - 1).all(|g| *g == 0), "dist {}d{} {}", $num, $sides, dist[0u..$num]);
[INFO] [stdout]    |                                                                                                      ^^ invalid suffix `u`
[INFO] [stdout] ...
[INFO] [stdout] 42 |                 assert_dice!(num, sides);
[INFO] [stdout]    |                 ------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::rand`
[INFO] [stdout]  --> src/dice.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::rand;
[INFO] [stdout]   |     ^^^^^^^^^ no `rand` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::rand`
[INFO] [stdout]  --> src/dice.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::rand::Rng;
[INFO] [stdout]   |          ^^^^ could not find `rand` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for integer literal
[INFO] [stdout]   --> src/dice.rs:40:26
[INFO] [stdout]    |
[INFO] [stdout] 40 |         for num in range(1u, 4) {
[INFO] [stdout]    |                          ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for integer literal
[INFO] [stdout]   --> src/dice.rs:41:32
[INFO] [stdout]    |
[INFO] [stdout] 41 |             for sides in range(1u, 20) {
[INFO] [stdout]    |                                ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]  --> src/dice.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Dice(pub uint, pub uint);
[INFO] [stdout]   |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]  --> src/dice.rs:5:31
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Dice(pub uint, pub uint);
[INFO] [stdout]   |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/dice.rs:12:27
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn roll(&self) -> uint {
[INFO] [stdout]    |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/dice.rs:40:20
[INFO] [stdout]    |
[INFO] [stdout] 40 |         for num in range(1u, 4) {
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/dice.rs:41:26
[INFO] [stdout]    |
[INFO] [stdout] 41 |             for sides in range(1u, 20) {
[INFO] [stdout]    |                          ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/dice.rs:28:31
[INFO] [stdout]    |
[INFO] [stdout] 28 |            let mut dist : Vec<uint> = repeat(0u).take($num * $sides + 1).collect();
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 39 |     fn dice() {
[INFO] [stdout]    |            - help: you might be missing a type parameter: `<uint>`
[INFO] [stdout] ...
[INFO] [stdout] 42 |                 assert_dice!(num, sides);
[INFO] [stdout]    |                 ------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `range` in this scope
[INFO] [stdout]   --> src/dice.rs:29:22
[INFO] [stdout]    |
[INFO] [stdout] 29 |             for _ in range(0, $num * $sides * 1000) {
[INFO] [stdout]    |                      ^^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 42 |                 assert_dice!(num, sides);
[INFO] [stdout]    |                 ------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/dice.rs:31:30
[INFO] [stdout]    |
[INFO] [stdout] 31 |                 dist[roll as uint] += 1;
[INFO] [stdout]    |                              ^^^^ not found in this scope
[INFO] [stdout] ...
[INFO] [stdout] 42 |                 assert_dice!(num, sides);
[INFO] [stdout]    |                 ------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::rand`
[INFO] [stdout]  --> src/dice.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::rand;
[INFO] [stdout]   |     ^^^^^^^^^ no `rand` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::rand`
[INFO] [stdout]  --> src/dice.rs:2:10
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::rand::Rng;
[INFO] [stdout]   |          ^^^^ could not find `rand` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rogue`.
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]  --> src/dice.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Dice(pub uint, pub uint);
[INFO] [stdout]   |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]  --> src/dice.rs:5:31
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Dice(pub uint, pub uint);
[INFO] [stdout]   |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/dice.rs:12:27
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn roll(&self) -> uint {
[INFO] [stdout]    |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "582f243048fbce11808969bb2899fb1f984a42db4775a239e043f1aee04e36a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "582f243048fbce11808969bb2899fb1f984a42db4775a239e043f1aee04e36a2", kill_on_drop: false }`
[INFO] [stdout] 582f243048fbce11808969bb2899fb1f984a42db4775a239e043f1aee04e36a2
